d4b42d
@@ -633,7 +633,7 @@
private void addInputPaths(JobConf job, mapredWork work, String hiveScratchDir)
       
       Class<? extends HiveOutputFormat> outFileFormat = (Class<? extends HiveOutputFormat>)Class.forName("org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat");
       
-      String newFile = "file:" + hiveScratchDir + File.separator + (++numEmptyPaths);
+      String newFile = hiveScratchDir + File.separator + (++numEmptyPaths);
       Path newPath = new Path(newFile);
       LOG.info("Changed input file to " + newPath.toString());
       
@@ -683,7 +683,7 @@
private void addInputPaths(JobConf job, mapredWork work, String hiveScratchDir)
       for (String emptyFile : emptyPaths) {
         Class<? extends HiveOutputFormat> outFileFormat = work.getPathToPartitionInfo().get(emptyFile).getTableDesc().getOutputFileFormatClass();
         
-        String newFile = "file:" + hiveScratchDir + File.separator + (++numEmptyPaths);
+        String newFile = hiveScratchDir + File.separator + (++numEmptyPaths);
         Path newPath = new Path(newFile);
         LOG.info("Changed input file to " + newPath.toString());
         
